package com.cskaoyan.catmall.service;

import com.cskaoyan.catmall.model.bo.BatchDeleteTopicIdsBo;
import com.cskaoyan.catmall.model.bo.PromotionTopicBo;
import com.cskaoyan.catmall.model.pojo.MarketTopic;
import com.cskaoyan.catmall.model.vo.*;
import com.fasterxml.jackson.core.JsonProcessingException;


/**
 * 创建日期: 2022-01-09-20-15
 * author : LL
 * description: 后台
 */
public interface TopicService {
    PromotionBaseVo<ItemOfPromotionTopicVo> getPromotionTopic(PromotionTopicBo promotionTopicBo);

    void createTopic(MarketTopic marketTopic);

    ItemOfTopicInfoVo getTopicInfo(Integer id) throws JsonProcessingException;

    void updateTopic(MarketTopic marketTopic);

    void deleteTopic(MarketTopic marketTopic);

    void batchDeleteTopicById(BatchDeleteTopicIdsBo topicIdsBo);


}


